﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using Fan.Dongping.DataBase;

namespace Fan.Dongping.DataAccess
{
    public class LineDA
    {
        public static DataTable GetWorkflowLines(string workflowId)
        {
            string sql = "select * from  jkkb20_item_line l where l.flw_no=@flw_no";
            SqlParameter[] paras = new SqlParameter[1];
            paras[0] = new SqlParameter("@flw_no", workflowId);
            return DA_Base.RunReturnDataset(sql,paras).Tables[0];
        }

    }
}
